package com.dao.impl;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.stereotype.Repository;

import com.dao.QuatationDao;
import com.entity.Quatation;

@Repository
public class QuatationDaoImpl implements QuatationDao {

	@Resource
	protected SessionFactory sessionFactory;

	@Override
	public void save(Quatation quatation) {
		sessionFactory.getCurrentSession().save(quatation);
	}
}
